﻿<UserControl
    x:Class="FU.Capstones.IMS.Web.Silverlight.Controls.EmploymentTypeSearchControl"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:Groupbox="clr-namespace:Groupbox;assembly=Groupbox" 
    xmlns:Controls="clr-namespace:FU.Capstones.IMS.Web.Silverlight.Controls">
    <Groupbox:GroupBox Background="Transparent">
        <Groupbox:GroupBox.Header>
            <TextBlock 
                Text="Tìm kiếm"
                Style="{StaticResource TextBlockGroupBoxTitleStyle}"
                        />
        </Groupbox:GroupBox.Header>
        <Grid x:Name="LayoutRoot" Background="Transparent" ShowGridLines="False">
            <Grid.RowDefinitions>
                <RowDefinition Height="Auto"/>
                <RowDefinition Height="Auto"/>
                <RowDefinition Height="Auto"/>
                <RowDefinition Height="Auto"/>
                <RowDefinition Height="Auto"/>
                <RowDefinition Height="Auto"/>
                <RowDefinition Height="Auto"/>
            </Grid.RowDefinitions>

            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="Auto"/>
                <ColumnDefinition Width="Auto"/>
                <ColumnDefinition Width="Auto"/>
                <ColumnDefinition Width="Auto"/>
                <ColumnDefinition Width="Auto"/>
                <ColumnDefinition Width="Auto"/>
            </Grid.ColumnDefinitions>

            <!--Tên vật liệu-->
            <TextBlock
				x:Name="lblEmploymentTypeName" 
				Grid.Row="0" Grid.Column="0"
                Style="{StaticResource TextBlockNormalStyle}"
				Text="{StaticResource EmploymentTypeNameLabelText}"
			/>
            <TextBox
			    x:Name="txtEmploymentTypeName"
			    Grid.Row="0" Grid.Column="1"
                Style="{StaticResource TextBoxNormalStyle}"
			    Text="{Binding Path=EmploymentTypeCriteria.EmploymentTypeNameSearch, Mode=TwoWay}"
		    />

            <Controls:SearchButtonControl 
			    Grid.Column="2" Grid.Row="0"/>
        </Grid>
    </Groupbox:GroupBox>
</UserControl>
